package com.tedu.parkinglot.order.mapper;


import com.tedu.parkinglot.carLog.pojo.entity.CarLog;
import com.tedu.parkinglot.order.pojo.dto.OrderQuery;
import com.tedu.parkinglot.order.pojo.entity.Order;
import com.tedu.parkinglot.order.pojo.vo.OrderVO;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderMapper {
     OrderVO getOrderByOrderId(Long id);
     Long getOrderIdByParkRecordId(Long id);

    OrderVO selectOrderByIdAndType(OrderQuery orderQuery);

    void insert(Order order);

    void update(Order order);

//     CarLog getOrderByParkRecordId(Long id);
}
